package com.zl.learning.db.redis;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
public class User implements Serializable {
    private Integer userId;
    private String username;

    public User(Integer userId, String username) {
        this.userId = userId;
        this.username = username;
    }
}
